-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ftr:otel trace #1886
Ftr:otel trace #1886
Conversation
Codecov Report
@@ Coverage Diff @@
## 3.0 #1886 +/- ##
==========================================
+ Coverage 44.82% 45.05% +0.22%
==========================================
Files 283 287 +4
Lines 16933 17047 +114
==========================================
+ Hits 7591 7681 +90
- Misses 8533 8551 +18
- Partials 809 815 +6
Continue to review full report at Codecov.
|
filter/otel/trace/attachment.go
Outdated
) | ||
|
||
type metadataSupplier struct { | ||
metadata *map[string]interface{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个为啥用指针,map 应该本来就是个指针吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
map是个引用类型,和指针还是有区别的,当触发map扩容时,引用地址可能会变
What this PR does:
Support ootel trace
Which issue(s) this PR fixes:
Fixes #
You should pay attention to items below to ensure your pr passes our ci test
We do not merge pr with ci tests failed